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

Query time 0.00018

JSON explain

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