SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '49eb5bf56c2dd6d9d0f6b235caab4ed224c659888301c90ab7b94dc3e218f945' 
  AND token = '5dNwM/Pfwygwe+wF3Lo2fHUcwaVtX0g8i38VwJiZs8s=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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