SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '959b45e0a9928c223c642991162dd20b5893f98475e239c8e4cd4cb01106cb2c' 
  AND token = 'O/FfB2alnhkWaHMkYnS6kKgqA3XehLMukgcnxTn+5z8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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