SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '837d5e164f460265e85400ea5970f215b00716d2ff18e9db377d180034f1edc0' 
  AND token = 'U1NwGFa7T2I8fmp0/LTjNAa7ugfmExfy8FYoQ4z//Tc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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