SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '49988ad03c128cb76b99489e39afc14d534430f115355d9b8118f79be2b252a4' 
  AND token = 'bgCFxJFlk68FNYFUUrUZlbbZ59MAJisAi5V3Cdm13a8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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