SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f4f492d7a85325697aeebcd929f05216e2f13f020e7ab85e989aa7af355299e7' 
  AND token = 'u0tHZsy0CN97ZWZ1pEytYz4lZCtCO0FFRPJtKV3F7jk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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