SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c160ef91811f94bb3874bba440112fcd4ec2c8c48b896a693af3cb2ee4419d21' 
  AND token = 'X9U+vpLPGP2jsldhxKR7NeLDK9AfBf3WtjpO2Rio+mE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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