SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '274cf27f614bc8eb792839319e070f61aac6ec1886db80ac87b4cf11908cd700' 
  AND token = 'YQxXzYJ0jpv74PoQpJV4u+ZTZuvLHTRUhTRnnAP/4I4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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