No MySQL existem 3 maneiras retornar a primeira ocorrência de uma substring em uma string:
LOCATE(substr,str), LOCATE(substr,str,pos)
INSTR(str,substr)
POSITION(substr IN str)
Além de LOCATE permitir o parâmetro de posição de inicio da busca, segundo Beginning MySQL Database Design and Optimization: From Novice to Professional (Chad Russell,Jon Stephens, 2004, p. 208):
POSITION() is standard SQL, LOCATE() is specific to MySQL(), INSTR() is
supported for compatibility with ORACLE.
Ou seja: POSITION() seria o mysql padrão, LOCATE() a função nativa do MySQL() e INSTR() estaria presente para manter compatibilidade com bancos ORACLE.
E tudo indica que elas tem a mesma implementação, já que Item_func_instr extende a classe Item_func_locate dentro do código fonte do MySQL em sql/item_func.h:
class Item_func_instr : public Item_func_locate
{
public:
Item_func_instr(const POS &pos, Item *a, Item *b) :Item_func_locate(pos, a, b)
{}
const char *func_name() const { return "instr"; }
};
É importante observar que no manual do MySQL, POSITION(substr IN str) aparece como sinonimo de LOCATE(substr, str). Já com INSTR e LOCATE, apesar da descrição da função ser a mesma para o formato INSTR(str, substr) vs LOCATE (substr, str) não há menções sobre a implementação.
INSTR
há: This is the same as the two-argument form of LOCATE(), except that the order of the arguments is reversed. Parecem ser iguais.