SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '77cd526ff9d66f3bdd1fddad744959124e505f1288e19253f77523bef88e3b76' 
  AND token = 'USyBaEWRZWcpE01RzvMbJgJgyTWs5Y3YcWwGTluL54w=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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