SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd7c5e3332aedabf2ea47aaf9ef4a5bb7a34d87a98bce7bc58c9e4f05505108c0' 
  AND token = 'wTbMubJLx8ipNyPRT36qxxLZXGbSu5W/USBzX7rNOig=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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