SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2dac16ac02edeb62acebb1b4577dc5eebaa2b106cab90c6dd07925142bc8e728' 
  AND token = 'UGM7ECc4bePopgNDeScEo5pORJwx5e5rJ4pUMKkb2k4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}