SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c9a964cbfcdb091e1373835fe790be49ec257e37cdc0f03ab5247f97b05b7f26' 
  AND token = 'neTJbEBjHnubc2BhJmBjf3aOguBo0UjEdK03B6OGL2k=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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