SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a5603007c8d043acbb9bde49dc14f5f912563fb17df154206ff4ccf0dc831cb3' 
  AND token = 'ZB0yHdOJ3OEcGd/fOE1FtiIQ/Y2UCR/szMkcbfhFv6U=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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