SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'cd359142a9ac6be6c4fa15086832a46d381b1a948a13da9755fa7020c258f351' 
  AND token = 'XjSJyVYyNDUhxGN3bj7IoPyLE10i+apda7gf5upb6J8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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