SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'dc2c57dfd0ab551f5a074840a72f9dd614ad05dc82bf04b951dc1f578fec5077' 
  AND token = 'UBCs+0yshfirbGijYVH9tr3+U0xtVVROKgz5nhdM8xQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}