SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ba88c17151a73cd465833a91cd6850146df324290996a794434229c7063647d2' 
  AND token = '1SAVf+D5IqPBn4WfJpci5jT7ESql/SvE9q0Sx/kooWE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00053

JSON explain

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