SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'af24110b7b0f00ce6b87d339209655fead5edf88d7df8522077548e8f5954ff9' 
  AND token = 'K3zlSUvZtq4rB/GZ5m3H4/DuMRFxi0wPUrQuuA1nzA4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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