SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'fe5f6c118af290c28507071b16141caba4688fba361d9feafc84e9b99a27219a' 
  AND token = 'YAcu2wm9pMZQBGsaAest7oXu/wX5erWE4rf1btEgta8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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