SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7ea450392c546651cc287fcff94b64d20e3b24ebf6efb179f1d316b5469d8015' 
  AND token = 'VWdw1e4IumOsl1hWL3xT2Xd6rByZnIydANCmImLIjEE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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