SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ad40a415eb3f1674bc563793473307919983805c2e8d489f1c8c3d3019491ba0' 
  AND token = 'cbwhI05SoT7tjIX6OdFrUVEz+ugNwDUBvELy7NofsrM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00068

JSON explain

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