SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a6353ab88e0c497085e840f121c7126fcad29b9b92c4143dd0b03df40204df50' 
  AND token = 'NGVetcbXgYvZkazF0WKcv9vxuhF2mxai175FY0mb0oI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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