SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e31adb3f51448a2cae250a5f8fe15fa2267b419c755e082df88e081476b3974b' 
  AND token = 'X0PR1ADchBv9Sqkfe8rgTNH1ONAzBPz6XUT2PUiP/SQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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