SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a6ffddadd298789cf7541e0e5f8b1f5dff45c33c3498f593cf949841de794d31' 
  AND token = 'C4pXX4tTjq+6LPDhvK5cNaBC0GZ6kquQlJQeeqOmAX8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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