SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '523e31daef407d935b9f3b172a89c8f990faf28be11abe1bf62e51b3844f4942' 
  AND token = '2IdUGbE92k+Ptu1ESPeOUre7MIFsfh5wimMkmHn+kJ8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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