SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '87ad377129474a135a596c840893440c93aaba1b1f45c00d6593672fa116fe65' 
  AND token = 'wGsefV0bbXp202Rxk3EfNc7JuiFGa7VOobXJ59PlbHY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00051

JSON explain

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