SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7c14121e679d6f3747451fb1192f87e81baec5b9c84e7819d772b5b790eb0a54' 
  AND token = 'm7FirxRA4tRyXH98AycKKwtxx1llyL0iexLRWsI8PCE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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